package com.example.springboot.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 请求参数实体vo
 * <p>
 * <p>
 * @author Zhang.Z
 * @version 2025-09-20
 */
public class ReqVO {

    private String name;

    private Integer code;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date now;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Date getNow() {
        return now;
    }

    public void setNow(Date now) {
        this.now = now;
    }

    @Override
    public String toString() {
        return "ReqVO{" +
                "name=" + name +
                ", code=" + code +
                ", now=" + now +
                '}';
    }
}
